#include"heap.h"

int main()
{
	hp heap;
	HeapInit(&heap);
	HeapPush(&heap, 1);
	HeapPush(&heap, 4);
	HeapPush(&heap, 6);
	HeapPush(&heap, 3);
	HeapPush(&heap, 8);
	HeapPush(&heap, 9);
	HeapPush(&heap, 4);
	HeapPush(&heap, 2);
	HeapPop(&heap);
	HeapPop(&heap);

	HPDataTape a[10] = { 3,6,2,7,3,1,6,34,2,1};
	int size = sizeof(a)/sizeof(HPDataTape);
	HeapSort(a, size);


	return 0;
}


